# -*- coding: utf-8 -*-
from wineAreas import RegionArea, regionClassGenerator, FranceArea
from qtcommon import tr, trUtf8, translate

# define this region classes
RhoneValleyArea , RhoneValleyAppellation, RhoneValleyGroup, newgroup = regionClassGenerator("RhoneValley", tr("Rhone Valley") , FranceArea)


                                                                        
# fill the specifics to this region. we put it in a function so it is invoked only when needed.
def createRegion():
    RhoneValleyArea._cepages = [
        ["Syrha",u"Mourvèdre","Grenache","Cinsault","Carignan"],
        ["Viognier","Clairette"],
        []
        ]

    r = RhoneValleyArea()
    r.addAppellations( [        
    newgroup(u"Côtes-du-rhône"),
    u"Côtes-du-rhône",
    u"Côtes-du-rhône Villages",

    newgroup(tr("côtes-du-rhône Villages") ),

    u"Cairanne",
    u"Massif-d'uchaux",
    u"Plan-de-dieu",
    u"Puyméras",
    u"Roaix",
    u"Sablet",
    u"Séguret",
    u"Valréas",
    u"Chusclan",
    u"Laudun",
    u"Visan",
    u"Rochegude",
    u"Rousset-les-vignes",
    u"Saint-maurice-sur-eygues",
    u"Saint-pantaléon-les-vignes",
    u"Saint-gervais",
    u"Signargues",

    newgroup(tr("Côtes-du-rhône crus") ),
    u"Beaumes-de-venise",
    u"Château-grillet",
    u"Châteauneuf-du-pape",
    u"Condrieu",
    u"Côte-rôtie",
    u"Cornas",
    u"Crozes-hermitage",
    u"Gigondas",
    u"Hermitage",
    u"Lirac",
    u"Rasteau",
    u"Saint-joseph",
    u"Saint-péray",
    u"Tavel",
    u"Vacqueyras",
    u"Vinsobres",

    newgroup(tr("Other Rhône valley appellations") ),
    u"Clairette-de-die",
    u"Crémant-de-die",
    u"Coteaux-de-die",
    u"Châtillon-en-diois",
    u"Coteaux-du-tricastin",
    u"Ventoux",
    u"Côtes-du-luberon",
    u"Côtes-du-vivarais",
    u"Clairette-de-bellegarde",
    u"Costières-de-nîmes",

    ]
                       
                       )
    return r
